x11: Guard against NULL window
authorTimm Bäder <mail@baedert.org>
Tue, 19 Dec 2017 06:38:35 +0000 (07:38 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 19 Dec 2017 06:39:37 +0000 (07:39 +0100)
commitf393552fec79b0aebd77222a99b69c887214c964
treeceb4278b13bbef0c308fae73340f23763a8b30a0
parentfcbbaae63c8b3587a75c2d017ec3e1c3870d2e07
x11: Guard against NULL window

Otherwise, the NULL parent window causes a crash in the
GDK_WINDOW_IS_DESTROYED call.
gdk/x11/gdkwindow-x11.c